<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- 行元素，默认情况下，不能占父元素一行的元素 -->
    <span>1. this is a span element</span>
    <span>2. this is a span element</span>
    <span>3. this is a span element</span>
    <span>4. this is a span element</span>

    <!-- 块元素，默认情况下，独立占父元素一行的元素（每个元素都是新的一行）-->
    <p>段落1</p>
    <p>段落2</p>
    <p>段落3</p>
    <p>段落4</p>

    <hr width="30%" />

    <table border="1" width="600px">
      <tr>
        <td>1-1</td>
        <td>1-2</td>
        <td>1-3</td>
        <td>1-4</td>
      </tr>
      <tr>
        <td>2-1</td>
        <td>2-2</td>
        <td>2-3</td>
        <td>2-4</td>
      </tr>
      <tr>
        <td>3-1</td>
        <td>3-2</td>
        <td>3-3</td>
        <td>3-4</td>
      </tr>
    </table>
  </body>
</html>
